import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import http from "./apiconfig/index";
import { API } from "./api/index";
Vue.config.productionTip = false;
Vue.prototype.$http = http;
Vue.prototype.$API = API;
if (process.env.VUE_APP_MOCK === "true") {
  require("@/mock");
}
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
